package Demo1;
class Media {

}
class Book extends Media {

}
public class test {
    public static void main(String[] args) {
        Media[] media = new Media[10];
        media[0] = new Book();
    }
}
